/**
 * @name: clinicActivity
 * @Description:
 * @Author: 方琦
 * @Date: 2022/6/12 21:20
 **/
const state = () => ({
    clinicActivityList: [{id: 1, time: '2017-12-1 09:30:00',type:'诊疗活动',address:'北京第一癫痫医院',state:1},
        {id: 2, time: '2017-12-4 09:30:00',type:'诊疗活动',address:'北京第二癫痫医院',state:2},
        {id: 3, time: '2017-12-4 09:30:00',type:'诊疗活动',address:'北京第二癫痫医院',state:2},
        {id: 4, time: '2017-12-4 09:30:00',type:'诊疗活动',address:'北京第二癫痫医院',state:0},
        {id: 5, time: '2017-12-4 09:30:00',type:'诊疗活动',address:'北京第二癫痫医院',state:3}]//数组
})
const getters = {
    clinicActivityList(state) {
        return [...state.clinicActivityList];//depList是数组，是引用类型，所以要深拷贝一份
    }
}
const actions = {

}
const mutations = {

}
export default {
    state,
    getters,
    actions,
    mutations
}
